package com.chinaunicom.system.service.impl;

import java.util.List; 

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaunicom.system.dao.datadictionaryMapper;
import com.chinaunicom.system.model.datadictionary;
import com.chinaunicom.system.service.IdatadictionaryService;
@Service
public class datadictionaryServiceImpl implements IdatadictionaryService {
	
	@Resource
	private datadictionaryMapper dao;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return dao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(datadictionary record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(datadictionary record) {
		// TODO Auto-generated method stub
		return dao.insertSelective(record);
	}

	@Override
	public datadictionary selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByPrimaryKeySelective(datadictionary record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(datadictionary record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<datadictionary> query() {
		// TODO Auto-generated method stub
		return dao.query();
	}

	@Override
	public List<datadictionary> queryById(Integer fid) {
		// TODO Auto-generated method stub
		return dao.queryById(fid);
	}

	@Override
	public List<datadictionary> queryFather() {
		// TODO Auto-generated method stub
		return dao.queryFather();
	}

	@Override
	public int queryByFid(Integer id) {
		// TODO Auto-generated method stub
		return dao.queryByFid(id);
	}

	

}
